angular.module('faApp')
  .service('mediaService', [ 'ajaxService',function (ajaxService) {

    this.mediaRecommendList = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("MEDIA_RECOMMEND_LIST"), cfg || {});
    };  
    
    this.mediaRecommendAdd = function (obj) {
      return ajaxService.post(ajaxService.getApiUri("MEDIA_RECOMMEND_ADD"), obj || {});
    };

    this.mediaRecommendDelete = function (obj) {
      return ajaxService.post(ajaxService.getApiUri("MEDIA_RECOMMEND_DELETE"), obj || {});
    };
}]);